import request from '@/utils/request'

//疾病树	
export function diseaseTree(data) {
	return request({
		url: '/student/imageCase/case/diseaseTree',
		method: 'get',
		params: data
	})
}

//列表	
export function caseList(data) {
	return request({
		url: '/student/imageCase/case/caseList',
		method: 'get',
		params: data
	})
}

//详情	
export function caseInfo(data) {
	return request({
		url: '/student/imageCase/case/caseInfo',
		method: 'get',
		params: data
	})
}

//浏览	
export function viewCase(data) {
	return request({
		url: '/student/imageCase/case/view',
		method: 'get',
		params: data
	})
}

//收藏	
export function collectCase(data) {
	return request({
		url: '/student/imageCase/case/collect',
		method: 'get',
		params: data
	})
}

//收藏状态
export function collectStatus(data) {
	return request({
		url: '/student/imageCase/case/collectStatus',
		method: 'get',
		params: data
	})
}

//填写报告	
export function saveReport(data) {
	return request({
		url: '/student/imageCase/case/saveReport',
		method: 'post',
		data
	})
}
//报告列表
export function reportList(data) {
	return request({
		url: '/student/imageCase/case/reportList',
		method: 'get',
		params: data
	})
}

//删除报告
export function deleteReport(data) {
	return request({
		url: '/student/imageCase/case/deleteReport',
		method: 'get',
		params: data
	})
}

//获取token
export function genKey(data) {
	return request({
		url: '/student/user/userInfo/genKey',
		method: 'get',
		params: data
	})
}

//系统列表
export function systemList(data) {
	return request({
		url: '/admin/basics/system/systemList',
		method: 'get',
		params: data
	})
}


//AI报告分析
export function aiReportAnalysis(data) {
	return request({
		url: '/admin/ai/aiReportAnalysis',
		method: 'post',
		data
	})
}

